package com.sysu.homework.service;

import java.util.List;

import com.sysu.homework.model.HomeworkResult;

public interface HomeworkResultService {
	int saveOrUpdate(HomeworkResult homeworkResult);
	HomeworkResult getHomeworkResultByFilename(String filename);
	List<HomeworkResult> getMyHomeworkResults(int studentid);
	List<HomeworkResult> getMyGroupHomeworkResults(int studentid);
	List<HomeworkResult> getAllHomeworkResults();
	boolean isExistsResult(int homeworkid,int studentid);
	
}
